/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.io.File;
import java.io.IOException;
import org.primefaces.event.FileUploadEvent;

/**
 *
 * @author rafael
 */
public interface RedimensionarDao {

    public void redimensionarImagem(File file, File fileImgRedimensionada);

    public void criarMiniaturas(File file, File fileMiniatura);

    public String getExtension(File file);

    public File criarArquivoImagem(FileUploadEvent event) throws IOException;

    public File criarArquivoThumbs(FileUploadEvent event) throws IOException;

    public void criarArquivoTemporario(FileUploadEvent event) throws IOException;
    
    public void deletarArquivosImagens(int id);
}
